function obj = amiKeithley2400(address,rackname)
%AMIKEITHLEY2400 Summary of this function goes here
%   Detailed explanation goes here
obj=amcinst('gpib',address,rackname);

obj.channels=amcchannel('Voltage',0);
obj.channels.getfun=@() query(obj.commobj, 'SOUR:VOLT:LEV:IMM:AMPL?', '%s\n', '%f');
obj.channels.setfun=@(val) fprintf(obj.commobj, ':SOUR:VOLT:LEV:IMM:AMPL %f\n', val);
end

